<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script language="javascript" src="/js/jquery-1.8.0.min.js"></script>
    <title>微信账号绑定列表 - 票付通分销平台</title>
</head>
<body>
<link rel="stylesheet" href="/css/aliceui.min.css"/>
<link rel="stylesheet" href="/css/resetui.css"/>
<link rel="stylesheet" href="/css/page.css"/>
<link rel="stylesheet" href="css/list.css"/>
<link rel="stylesheet" href="//www.16u.com/manage/admin/css/dialog.css"/>
<div class="wrap">
    <a href="wx.php?dev=1&username=<?=$_GET['username']?>&hash=<?=$_GET['hash']?>">Click here , show more information!</a>
    <a style="float:right; color:red;" href="wx_dev.php">新版授权账号入口!</a>
    <form name="ourform" class="search_form ">
        <input name="dev" value="<?=$_GET['dev']?>" type="hidden"/>
    <fieldset class="search-box">
        <legend>查询</legend>
        <table class="search-tbl" cellspacing="0">
            <tr>
                <!--<td>
                    <label class="t">审核状态</label>
                    <select name="status">
                        <option value="-1" <?=!isset($_GET['status']) || $_GET['status']==-1? 'selected':'';?>>--不限--</option>
                        <option value="0" <?=isset($_GET['status']) && $_GET['status']==0? 'selected':'';?>>未审核</option>
                        <option value="1" <?=$_GET['status']==1? 'selected':'';?>>正常</option>
                        <option value="2" <?=$_GET['status']==2? 'selected':'';?>>拒绝</option>
                    </select>
                </td>-->               
                <td>
                    username:<input name="username" value="<?=$_GET['username']?>"/>
                </td>
                <td>
                    hash:<input name="hash" value="<?=$_GET['hash']?>"/>
                </td>
                <td>
                    fid:<input name="fid" value="<?=$_GET['fid']?>"/>
                </td>
                <td>
                    状态: <select name="status">
                        <option value="0"
                        <?=$_GET['status']==0 ? 'selected':''?> >已接入</option>
                        <option value="1"
                        <?=$_GET['status']==1 ? 'selected':''?> >未接入</option>
                        <option value="2"
                        <?=$_GET['status']==2 ? 'selected':''?> >删除</option>
                    </select>
                </td>
                <td>
                <button id="searchBtn" type="submit" class="ui-button ui-button-lorange">查　找</button>
                </td>
            </tr>
        </table>
    </fieldset>
</form>
    <div class="ui-table-container">
        <table class="ui-table ui-table-noborder"><!-- 可以在class中加入ui-table-inbox或ui-table-noborder分别适应不同的情况 -->
        <thead>
        <tr>
            <th>ID</th>
            <th>提交时间</th>
            <th>会员ID</th>
            <th>企业名</th>
            <th>联系电话</th>
            <th>公众号</th>
            <th>APP ID</th>
            <th>是否接入</th>
            <?php if($_GET['dev']):?>
            <th>USER NAME</th>
            <th>HASH</th>
            <th>APP SECRET</th>
            <th>TOKEN</th>
            <th>AC TYPE</th>
            <th>encodingAESKey</th>
            <?php endif;?>
        </tr>
        </thead>
        <tbody id="tao_list_tbd">
        <? foreach($mem_list as $list): ?>
        <tr id="tr_<?=$list['log_id']?>">
            <td><?=$list['id']?></td>
            <td><?=$list['create_time']?></td>
            <td><?=$list['fid']?></td>
            <td><?=$list['dname']?></td>
            <td><?=$list['mobile']?></td>
            <td><?=$list['name']?></td>
            <td><?=$list['appid']?></td>
            <td><?=$connectList[$list['isconnect']]?></td>
            <?php if($_GET['dev']):?>
            <td><?=$list['username']?></td>
            <td><?=$list['hash']?></td>
            <td><?=$list['appsecret']?></td>
            <td><?=$list['token']?></td>
            <td><?=$list['ac_type']?></td>
            <td><?=$list['encodingAESKey']?></td>
            <?php endif;?>

        </tr>
        <? endforeach; ?>
        </tbody>
    </table>
        <?page($total_rows,$currentPage,$pageSize);?>
    </div>
</div> 

</body>
</html>
